package com.lnking.lnkingplace.Util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class StringUtil {

    public static Boolean isNumber(String s) {
        if(s != null&& !"".equals(s)){
            Pattern p = Pattern.compile("[0-9]*");
            Matcher m = p.matcher(s);
            if (m.matches()) {
                return true;
            } else {
                return false;
            }
        }
       return false;
    }


}
